.class Lcom/waiqin365/lightapp/visit/fs;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    const/4 v3, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/ak;

    if-eqz v0, :cond_5

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/ak;->b()Z

    move-result v1

    if-eqz v1, :cond_5

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->f:Ljava/util/ArrayList;

    if-eqz v1, :cond_2

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v2

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->d:I

    if-ge v2, v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    :goto_1
    if-eqz v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/visit/b/bg;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bg;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/visit/b/bg;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/bg;->notifyDataSetChanged()V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    goto :goto_2

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_2

    :cond_5
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    if-eqz v0, :cond_6

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ak;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_2

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/ab;

    if-eqz v0, :cond_8

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/ab;->b()Z

    move-result v1

    if-eqz v1, :cond_8

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ab;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    const v2, 0x7f080248

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->g(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/visit/b/bf;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/visit/b/bg;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bg;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/visit/b/bg;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/bg;->notifyDataSetChanged()V

    goto/16 :goto_0

    :cond_7
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Landroid/content/Context;

    move-result-object v1

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ab;->c:Ljava/lang/String;

    invoke-static {v1, v0, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_8
    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/fs;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Landroid/content/Context;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ab;->a:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x321
        :pswitch_1
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method
